package service.edu.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
@ApiModel(value="课程信息", description="条件查询课程列表的封装对象")
public class CourseQuery {
    @ApiModelProperty(value = "课程标题")
    private String title;//课程名

    @ApiModelProperty(value = "课程销售价格，设置为0则可免费观看")
    private String price;//课程价格

    @ApiModelProperty(value = "课程状态 Draft未发布  Normal已发布")
    private String status;

    @ApiModelProperty(value = "查询开始时间", example = "2019-01-01 10:10:10")
    private String begin;//注意，这里使用的是String类型，前端传过来的数据无需进行类型转换

    @ApiModelProperty(value = "查询结束时间", example = "2019-12-01 10:10:10")
    private String end;


}
